Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Updates #1422

Merged
merged 3 commits into from
May 19, 2022
Merged

API Updates #1422

merged 3 commits into from
May 19, 2022

Conversation

kamil-stripe
Copy link
Contributor

@kamil-stripe kamil-stripe commented May 13, 2022

Codegen for openapi 056745c.
r? @dcr-stripe
cc @stripe/api-libraries

Changelog

  • Add support for new resources Treasury.CreditReversal, Treasury.DebitReversal, Treasury.FinancialAccountFeatures, Treasury.FinancialAccount, Treasury.FlowDetails, Treasury.InboundTransfer, Treasury.OutboundPayment, Treasury.OutboundTransfer, Treasury.ReceivedCredit, Treasury.ReceivedDebit, Treasury.TransactionEntry, and Treasury.Transaction
  • Add support for retrieve_payment_method method on resource Customer
  • Add support for list_owners and list methods on resource FinancialConnections.Account
  • Change BillingPortalConfigurationCreateParams.features.customer_update.allowed_updates to be optional
  • Change type of BillingPortal.Session.return_url from string to nullable(string)
  • Add support for afterpay_clearpay, au_becs_debit, bacs_debit, eps, fpx, giropay, grabpay, klarna, paynow, and sepa_debit on Checkout.Session.payment_method_options
  • Add support for treasury on Issuing.Authorization, Issuing.Dispute, Issuing.Transaction, and IssuingDisputeCreateParams
  • Add support for financial_account on Issuing.Card and IssuingCardCreateParams
  • Add support for client_secret on Order
  • Add support for networks on PaymentIntentConfirmParams.payment_method_options.us_bank_account, PaymentIntentCreateParams.payment_method_options.us_bank_account, PaymentIntentUpdateParams.payment_method_options.us_bank_account, PaymentMethod.us_bank_account, SetupIntentConfirmParams.payment_method_options.us_bank_account, SetupIntentCreateParams.payment_method_options.us_bank_account, and SetupIntentUpdateParams.payment_method_options.us_bank_account
  • Add support for attach_to_self and flow_directions on SetupIntent
  • Add support for save_default_payment_method on Subscription.payment_settings, SubscriptionCreateParams.payment_settings, and SubscriptionUpdateParams.payment_settings
  • Add support for czk on Terminal.Configuration.tipping, TerminalConfigurationCreateParams.tipping, and TerminalConfigurationUpdateParams.tipping
  • Add support for new values treasury.credit_reversal.created, treasury.credit_reversal.posted, treasury.debit_reversal.completed, treasury.debit_reversal.created, treasury.debit_reversal.initial_credit_granted, treasury.financial_account.closed, treasury.financial_account.created, treasury.financial_account.features_status_updated, treasury.inbound_transfer.canceled, treasury.inbound_transfer.created, treasury.inbound_transfer.failed, treasury.inbound_transfer.succeeded, treasury.outbound_payment.canceled, treasury.outbound_payment.created, treasury.outbound_payment.expected_arrival_date_updated, treasury.outbound_payment.failed, treasury.outbound_payment.posted, treasury.outbound_payment.returned, treasury.outbound_transfer.canceled, treasury.outbound_transfer.created, treasury.outbound_transfer.expected_arrival_date_updated, treasury.outbound_transfer.failed, treasury.outbound_transfer.posted, treasury.outbound_transfer.returned, treasury.received_credit.created, treasury.received_credit.failed, treasury.received_credit.reversed, treasury.received_credit.succeeded, and treasury.received_debit.created on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

Copy link
Contributor

@dcr-stripe dcr-stripe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚢

@stripe-ci stripe-ci assigned kamil-stripe and unassigned dcr-stripe May 19, 2022
@richardm-stripe richardm-stripe merged commit 4819fc5 into master May 19, 2022
@richardm-stripe richardm-stripe deleted the latest-codegen branch May 19, 2022 23:55
pakrym-stripe added a commit that referenced this pull request Jun 8, 2022
* API Updates (#1413)

* Bump version to 8.221.0

* API Updates (#1414)

* Bump version to 8.222.0

* API Updates (#1415)

* feat(http-client): retry closed connection errors (#1336)

* feat(http-client): Retry requests that failed with closed connection

Requests that fail with closed connection errors (ECONNRESET, EPIPE) are
automatically retried.

- `ECONNRESET` (Connection reset by peer): A connection was forcibly
  closed by a peer.closed by a peer. This normally results from a loss
  of the connection on the remote socket due to a timeout or reboot.
  Commonly encountered via the http and net modules.

- `EPIPE` (Broken pipe): A write on a pipe, socket, or FIFO for which
  there is no process to read the data. Commonly encountered at the net
  and http layers, indicative that the remote side of the stream being
  written to has been closed.

Fixes: #1040

* Remove deprecated orders-related events (#1417)

* Bump version to 9.0.0

* API Updates (#1420)

* Codegen for openapi 7789931

* Bump version to 9.1.0

* API Updates (#1422)

* Codegen for openapi 056745c
Co-authored-by: Richard Marmorstein <[email protected]>
Co-authored-by: Dominic Charley-Roy <[email protected]>

* Bump version to 9.2.0

* Codegen for openapi v146 (#1430)

* Bump version to 9.3.0

* Codegen for openapi v147 (#1431)

* Bump version to 9.4.0

* docs: Update HttpClient documentation to remove experimental status. (#1432)

* Codegen for openapi v149 (#1434)

* Bump version to 9.5.0

* API Updates (#1439)

* Bump version to 9.6.0

* Update README.md (#1440)

* Codegen for openapi v152 (#1441)

* Add test for cash balance methods. (#1438)

* Bump version to 9.7.0

Co-authored-by: Dominic Charley-Roy <[email protected]>
Co-authored-by: Dominic Charley-Roy <[email protected]>
Co-authored-by: Richard Marmorstein <[email protected]>
Co-authored-by: Bruno Pinto <[email protected]>
Co-authored-by: Richard Marmorstein <[email protected]>
Co-authored-by: Kamil Pajdzik <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants